package com.xagcdx.group1.service.impl;

import com.xagcdx.group1.bean.Job;
import com.xagcdx.group1.bean.Jobtitle;
import com.xagcdx.group1.dao.JobtitleMapper;
import com.xagcdx.group1.service.JobtitleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  鏈嶅姟瀹炵幇绫�
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@Service
@Transactional
public class JobtitleServiceImpl extends ServiceImpl<JobtitleMapper, Jobtitle> implements JobtitleService {
@Autowired
private JobtitleMapper jobtitleMapper;

@Override
public Integer counts(Integer page, Integer limit) {
	// TODO Auto-generated method stub
	return jobtitleMapper.counts(page,limit);
}

@Override
public List<Jobtitle> jobtitleListPage(Integer i, Integer limit, String did, String jtname,String tag) {
	// TODO Auto-generated method stub
	return jobtitleMapper.jobtitleListPage(i,limit,did,jtname,tag);
}

@Override
public List<Job> jobtitleDepartList(String did) {
	// TODO Auto-generated method stub
	return jobtitleMapper.jobtitleDepartList(did);
}
}
